<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
document.include('/example/header/')
document.include('/example/footer/')
var version = application.sharedGlobals.get('com.threecrickets.diligence.version')
%>
<html>
<head>
	<title>Diligence - Examples</title>

	<meta name="description" content="A scalable Prudence/MongoDB web development framework for JavaScript." />
	<meta name="keywords" content="Diligence, Prudence, MongoDB, Three Crickets, Scalable, Scalability, REST, RESTful, Restlet, JVM, Java Virtual Machine, Java, JavaScript, Rhino, No-SQL, NoSQL" />
	<link rel="shortcut icon" href="http://threecrickets.com/media/three-crickets/diligence.ico" />
	<%== head %>
	<% if(null !== conversation.locals.get('extJs')) { document.require('/diligence/integration/frontend/sencha/'); print(Diligence.Sencha.extJsHead(conversation)); } %>
	<!--  Dark Cricket (needs to be *after* Ext JS CSS, if you're using it) -->
	<link rel="stylesheet" type="text/css" href="<%.%>/style/three-crickets/dark-cricket/dark-cricket.min.css" />

	<!-- Ubuntu font -->
	<link href="http://fonts.googleapis.com/css?family=Ubuntu|Ubuntu:italic|Ubuntu:bold|Ubuntu:bolditalic" rel="stylesheet" type="text/css" />

	<!-- jQuery -->
	<script type="text/javascript" src="<%.%>/scripts/jquery/jquery.core.min.js"></script>
	<% if(null !== conversation.locals.get('reCaptcha')) { %>
	<!-- reCAPTCHA -->
	<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script><% } %>
</head>
<body>
<div style="float: left; margin-bottom: 12px;">
	<a href="<%.%>">
		<h2 style="margin-top: 12px;">Diligence Examples<br /><span style="font-size: 13px;">Version <%= version %></span></h2>
	</a>

	<div class="navigation">
		<ul>
			<li><a href="<%.%>">About</a></li>
			<li><a href="http://code.google.com/p/diligence-prudence/">Community and Support</a></li>
			<li><a href="<%.%>/api/">API Documentation</a></li>
			<li><span class="heading">Drop-In Features</span>
				<ul style="text-decoration:line-through">
					<li><a href="<%.%>/example/feature/blog/">Blog</a></li>
					<li><a href="<%.%>/example/feature/console/">Console</a></li>
					<li><a href="<%.%>/example/feature/contact-us/">Contact Us</a></li>
					<li><a href="<%.%>/example/feature/discussion/">Discussion</a></li>
					<li><a href="<%.%>/example/feature/registration/">Registration</a></li>
					<li><a href="<%.%>/example/feature/seo/">SEO</a></li>
					<li><a href="<%.%>/example/feature/shopping-cart/">Shopping Cart</a></li>
					<li><a href="<%.%>/example/feature/wiki/">Wiki</a></li>
				</ul>
			</li>
			<li><span class="heading">Application Services</span>
				<ul>
					<li><a href="<%.%>/example/service/assets/">Assets</a></li>
					<li style="text-decoration:line-through"><a href="<%.%>/example/service/authentication/">Authentication</a></li>
					<li style="text-decoration:line-through"><a href="<%.%>/example/service/authorization/">Authorization</a></li>
					<li><a href="<%.%>/example/service/backup/">Backup</a></li>
					<li><a href="<%.%>/example/service/cache/">Cache</a></li>
					<li><a href="<%.%>/example/service/documents/">Documents</a></li>
					<li><a href="<%.%>/example/service/events/">Events</a></li>
					<li><a href="<%.%>/example/service/forms/">Forms</a></li>
					<li style="text-decoration:line-through"><a href="<%.%>/example/service/html/">HTML</a></li>
					<li><a href="<%.%>/example/service/internationalization/">Internationalization</a></li>
					<li style="text-decoration:line-through"><a href="<%.%>/example/service/linkback/">Linkback</a></li>
					<li><a href="<%.%>/example/service/nonces/">Nonces</a></li>
					<li><a href="<%.%>/example/service/notification/">Notification</a></li>
					<li><a href="<%.%>/example/service/progress/">Progress</a></li>
					<li><a href="<%.%>/example/service/rpc/">RPC</a></li>
					<li><a href="<%.%>/example/service/rest/">REST</a></li>
					<li style="text-decoration:line-through"><a href="<%.%>/example/service/search/">Search</a></li>
					<li><a href="<%.%>/example/service/serials/">Serials</a></li>
					<li style="text-decoration:line-through"><a href="<%.%>/example/service/syndication/">Syndication</a></li>
				</ul>
			</li>
			<li><span class="heading">Integrations</span>
				<ul style="text-decoration:line-through">
					<li><a href="<%.%>/example/integration/gravatar/">Gravatar</a></li>
					<li><a href="<%.%>/example/integration/pay-pal/">PayPal</a></li>
				</ul>
			</li>
			<li><span class="heading">Sencha Integration</span>
				<ul>
					<li><a href="<%.%>/example/integration/sencha/">General Information</a></li>
					<li><a href="<%.%>/example/integration/sencha/grids/">Ext JS Grids</a></li>
					<li><a href="<%.%>/example/integration/sencha/trees/">Ext JS Trees</a></li>
					<li style="text-decoration:line-through"><a href="<%.%>/example/integration/sencha/charts/">Ext JS Charts</a></li>
					<li><a href="<%.%>/example/integration/sencha/forms/">Ext JS Forms</a></li>
					<li><a href="<%.%>/example/integration/sencha/direct/">Ext Direct</a></li>
					<li style="text-decoration:line-through"><a href="<%.%>/example/integration/sencha/touch/">Sencha Touch</a></li>
				</ul>
			</li>
			<li><span class="heading">Tools</span>
				<ul>
					<li style="text-decoration:line-through"><a href="<%.%>/example/tool/js-doc/" class="closed">JsDoc Template</a></li>
				</ul>
			</li>
		</ul>
<%
var textPack = conversation.locals.get('diligence.service.internationalization.text')
var permissions = conversation.locals.get('diligence.service.authorization.permissions')
%>
				<p>
					<%# textPack.get('application.cluck.welcome', {now: new Date().format('HH:mm:ss.SS')}) %>
				</p>
<%
if (permissions) {
%>
				<p>
					Your permissions: <%= Diligence.JSON.to(permissions.getAll()) %> 
				</p>
<%
}
%>
				<%# '/diligence/service/authentication/info/' %>

	</div>
</div>
<div id="main"><div id="main-content">
	<img style="float: right; padding: 6px 6px 6px 6px;" src="<%.%>/media/three-crickets/diligence-small.png" alt="Diligence logo: sleeping monkey" />
